package com.scoring.system.pojo;

import java.util.List;

public class Classes {
    private Integer id;

    private String code;

    private String name;

    private Boolean isDeleted;

    private Integer majorId;
    
    private Integer userId;
    
    private Major major;
    
    private User user;
    
/*    private List<Student> students;
    
    private List<ClassCurriculum> classCurriculums;*/

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code == null ? null : code.trim();
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public Boolean getIsDeleted() {
        return isDeleted;
    }

    public void setIsDeleted(Boolean isDeleted) {
        this.isDeleted = isDeleted;
    }

    public Integer getMajorId() {
        return majorId;
    }

    public void setMajorId(Integer majorId) {
        this.majorId = majorId;
    }

	public Major getMajor() {
		return major;
	}

	public void setMajor(Major major) {
		this.major = major;
	}
	

	public Integer getUserId() {
		return userId;
	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}
	

	public User getUser() {
		return user;
	}

	public void setUser(User user) {
		this.user = user;
	}

/*	public List<Student> getStudents() {
		return students;
	}

	public void setStudents(List<Student> students) {
		this.students = students;
	}

	public List<ClassCurriculum> getClassCurriculums() {
		return classCurriculums;
	}

	public void setClassCurriculums(List<ClassCurriculum> classCurriculums) {
		this.classCurriculums = classCurriculums;
	}
*/
	@Override
	public String toString() {
		return "Classes [id=" + id + ", code=" + code + ", name=" + name + ", isDeleted=" + isDeleted + ", majorId="
				+ majorId;
	}
    
}